<h1>Request tutor</h1>

<form action="{{ path('requestCreate') }}" method="post" {{ form_enctype(form) }}>

  <table>
    <tr>
      <td>{{ form_label(form.message) }}</td>
      <td>
          {{ form_errors(form.message) }}
          {{ form_widget(form.message) }}
        </td>      
      </tr>
    <tr>
      <td>{{ form_label(form.category) }}</td>
      <td>
          {{ form_errors(form.category) }}
          {{ form_widget(form.category) }}
      </td>      
    </tr>
    <tr>
      <td>{{ form_label(form.subject) }}</td>
      <td>
          {{ form_errors(form.subject) }}
          {{ form_widget(form.subject) }}
        </td>      
    </tr>    
    <tr>
      <td>{{ form_label(form.first_name) }}</td>
      <td>
          {{ form_errors(form.first_name) }}
          {{ form_widget(form.first_name) }}
      </td>      
    </tr>
    <tr>
      <td>{{ form_label(form.last_name) }}</td>
      <td>
          {{ form_errors(form.last_name) }}
          {{ form_widget(form.last_name) }}
      </td>      
    </tr>
    <tr>
      <td>{{ form_label(form.email) }}</td>
      <td>
          {{ form_errors(form.email) }}
          {{ form_widget(form.email) }}
      </td>      
    </tr>
    <tr>
      <td>{{ form_label(form.phone1) }}</td>
      <td>
        {{ form_errors(form.phone1) }}
        {{ form_widget(form.phone1) }}
      </td>      
    </tr>
    <tr>
      <td>{{ form_label(form.phone2) }}</td>
      <td>
        {{ form_errors(form.phone2) }}
        {{ form_widget(form.phone2) }}
      </td>      
    </tr>
    <tr>
      <td>{{ form_label(form.address) }}</td>
      <td>
        {{ form_errors(form.address) }}
        {{ form_widget(form.address) }}
      </td>      
    </tr>
  </table>

  <p>
    {{ form_widget(form._token) }}
    <button type="submit">Create</button>
  </p>
</form>